#pragma once
#ifndef MYPRIM_H
#define MYPRIM_H
#include "MyRay.h"

class MyPrimitive{

	public:

		MyMaterial m;

		virtual MyVector3 getNormal(MyVector3 point)= 0;
		//0 pro kouli, 1 pro trojuhelnik
		virtual int whatIsIt()= 0;
		virtual bool isIntersection(MyRay ray, float &t) =0;

		
};
#endif